package com.jsbs.iam.auth.constant;

/**
 * @ClassName: Constants
 * @Author: tenghuawei
 * @Date: 2022/12/26 11:53
 * @Description: 通用常量信息
 */

public class Constants {

    /**
     * BI
     */
    public static final String URL_FLAG_BI = "BI";

    public static final String HEADER_TOKEN_RSP = "set-x-token";

    public static final String HEADER_TOKEN = "x-token";

    /**
     * 用户编码
     */
    public static final String USER_CODE = "userCode";

    /**
     * 姓名
     */
    public static final String NAME = "name";

    /**
     * 手机号
     */
    public static final String PHONE = "phone";

    /**
     * 邮箱
     */
    public static final String EMAIL = "email";

    /**
     * 归属组织类型编码
     */
    public static final String ORG_TYPE_CODE = "orgTypeCode";

    /**
     * 归属租户
     */
    public static final String COMPANY_CODE = "companyeCode";

    /**
     * 应用编码
     */
    public static final String APPLY_CODE = "applyCode";

    /**
     * 超级管理员用户编码
     */
    public static final String ADMIN_USER_CODE = "admin";

    /**
     * 管理员角色列表
     */
    public static final String ADMIN_ROLE_LIST = "x-admin-role-list";

    /**
     * 用户类型
     */
    public static final String USER_TYPE = "x-user-type";

    /**
     * 管理员用户
     */
    public static final String USER_TYPE_ADMIN = "0";

    /**
     * 普通用户
     */
    public static final String USER_TYPE_NOMAL = "1";

    /**
     * 管理员角色编码
     */
    public static final String ADMIN_ROLE_CODE = "x-admin-role-code";

    /**
     * 扩展字段名称
     */
    public static final String FIELD_KEY = "fieldName";

    /**
     * 扩展字段值
     */
    public static final String FIELD_DATA = "fieldData";

    /**
     * 扩展字段ID
     */
    public static final String FIELD_ID = "fieldId";


}
